package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.TeamGroupDTO;
import com.neusoft.neuiotms.dcom.dto.UserDutyInfoDTO;

public interface TeamGroupService {

    List<TeamGroupDTO> index(Searchable searchable);

    Page<TeamGroupDTO> search(Pageable pageable, Searchable searchable);

    TeamGroupDTO create(TeamGroupDTO dto);

    TeamGroupDTO update(Long id, TeamGroupDTO dto);

    TeamGroupDTO details(Long id);

    void delete(Long id);

    List<UserDutyInfoDTO> dutyInfo(UserBean user);
}
